﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace MiniTennis
{
    public partial class FrmConectar : Form
    {
        private FrmMiniTennis Tennis;

        public FrmConectar(String Usuario, FrmMiniTennis Tenn)
        {
            Tennis = Tenn;
            InitializeComponent();
        }

        private void btnConectar_Click(object sender, EventArgs e)
        {
            this.Tennis.conectar(txtIP.Text,txtPuerto.Text);
        }
    }
}
